package com.itheima.service;

import com.itheima.pojo.Permission;
import com.itheima.pojo.Role;
import com.itheima.pojo.User;

import java.util.List;

public interface SpringSecurityUserService {

    public User getByUsername(String username);

    public List<Role> getByUserId(Integer userId);

    public List<Permission> getByRole(List<Role> roleList);


}
